package com.zz.springboot.enums;

public enum RolesEnum {
    ADMIN("admin","管理员"),
    MEMBER("member","会员"),
    USER("user","普通用户");

    private String code;
    private String msg;

    RolesEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }
}
